package com.zcah.file.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.zcah.file.dao.MaskSeparatorDao;
import com.zcah.file.domain.MaskSeparatorDO;
import com.zcah.file.service.MaskSeparatorService;



@Service
public class MaskSeparatorServiceImpl implements MaskSeparatorService {
	@Autowired
	private MaskSeparatorDao maskSeparatorDao;
	
	@Override
	public MaskSeparatorDO get(Integer separatorId){
		return maskSeparatorDao.get(separatorId);
	}
	
	@Override
	public List<MaskSeparatorDO> list(Map<String, Object> map){
		return maskSeparatorDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return maskSeparatorDao.count(map);
	}
	
	@Override
	public int save(MaskSeparatorDO maskSeparator){
		return maskSeparatorDao.save(maskSeparator);
	}
	
	@Override
	public int update(MaskSeparatorDO maskSeparator){
		return maskSeparatorDao.update(maskSeparator);
	}
	
	@Override
	public int remove(Integer separatorId){
		return maskSeparatorDao.remove(separatorId);
	}
	
	@Override
	public int batchRemove(Integer[] separatorIds){
		return maskSeparatorDao.batchRemove(separatorIds);
	}
	
}
